﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Sicurezza.CA.DataProvider;
using Sicurezza.Entita;

namespace Sicurezza.CA.Manager
{
    public class RevokeManager
    {
        private static RevokeDataProvider dataProvider = new RevokeDataProvider();

        public static void ProcessRequest(string serial)
        {
            dataProvider.Save(serial);

        }

        public static List<RevokedCertificate> GetAll()
        {
            return dataProvider.GetAll();
        }

    }
}
